package model

import "gorm.io/gorm"

type Instrument struct {
	gorm.Model
	Name         string  `gorm:"type:varchar(50);not null"`
	Img          string  `gorm:"type:varchar(500);not null"`
	Describe     string  `gorm:"type:varchar(200);not null"`
	Specials     string  `gorm:"type:varchar(200);not null"`
	Price        float64 `gorm:"type:decimal(10,2);not null"`
	Unit         string  `gorm:"type:varchar(20);not null"`
	Store        uint    `gorm:"type:int;not null"`
	CategoryID   uint    `gorm:"type:int;not null"`
	CategoryName string  `gorm:"type:varchar(50);not null"`
}
